<?php
include '../conn.php';

?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
     

    <title>添加订单</title>

    <!-- Bootstrap core CSS -->
    <link href="./css/bootstrap.min.css" rel="stylesheet">
 
    <link href="./css/navbar-fixed-top.css" rel="stylesheet">
 
</head>

<body>

<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">后台管理</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="main.php">首页</a></li>
                <li><a href="goodslist.php">商品管理</a></li>
                <li><a href="/admin/userlist.php">用户管理</a></li>
                <li><a href="/admin/articlelist.php">通知管理</a></li>
                <li><a href="/admin/advlist.php">轮播管理</a></li>
                <li class="active"><a href="/admin/orderlist.php">订单管理</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="../index.php">进入前台 <span class="sr-only">(current)</span></a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>

<div class="container">
    <br><br>
    <br><br><br>
    <table class="table ">


        <thead>
        <tr>
            <th colspan="2">添加订单</th>
        </tr>
        </thead>
        <tbody>

        <form class="" action="doaddorder.php?id=<?php echo $id?>" method="post">

            <tr>
                <td>id：</td>
                <td><input type="text" name="id" value=""></td>
            </tr>
            <tr>
                <td>用户id：</td>
                <td><input type="text" name="user_id" value=""></td>
            </tr>
            <tr>
                <td>商品id：</td>
                <td><input type="text" name="goods_id" value=""></td>
            </tr>
            <tr>
                <td>商品数量：</td>
                <td><input type="text" name="count" value=""></td>
            </tr>
            <tr>
                <td>订单状态：</td>
                <td><input type="text" name="status" value=""></td>
            </tr>

            <tr colspan="2">
                <td>
                    <input type="submit" class="btn btn-success" value="添加">
                </td>
            </tr>
        </form>

        </tbody>
    </table>
</div>  
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="./js/bootstrap.min.js"></script> 
</body>
</html>